QT += quick \
    serialport \
    network \
    httpserver \
    widgets

CONFIG += c++11

SOURCES += \
    http/httpserver.cpp \
    main.cpp \
    model/qmllogsbrowser.cpp \
    model/qmlporxyconfig.cpp \
    model/qmlrelayswitch.cpp \
    model/qmlserialport.cpp \
    service/mainservice.cpp

# resources.files = main.qml
# resources.prefix = /$${TARGET}
# RESOURCES += resources

RESOURCES += \
    common/common.qrc \
    launcher.qrc \
    resource/resource.qrc

# Additional import path used to resolve QML modules in Qt Creator's code model
 QML_IMPORT_PATH = ./common

# Additional import path used to resolve QML modules just for Qt Quick Designer
QML_DESIGNER_IMPORT_PATH =

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

HEADERS += \
    http/httpserver.h \
    model/qmllogsbrowser.h \
    model/qmlporxyconfig.h \
    model/qmlrelayswitch.h \
    model/qmlrelayswitch_macro.h \
    model/qmlserialport.h \
    service/mainservice.h

RC_ICONS = resource/images/favicon.ico

